<!DOCTYPE HTML>
<html lang="en-gb" dir="ltr">

<head>
<meta charset="utf-8" />
  <title>SGoban demo</title> 
  
  <link rel="stylesheet" href="css/sgo.css" type="text/css" />
<!--    
  <script src="libs/jquery-1.11.2.js" type="text/javascript"></script>
-->    
  <script src="js/SGoBoard.js" type="text/javascript"></script>
  <script src="js/SGoCore.js" type="text/javascript"></script>
  <script src="js/SGoGoban.js" type="text/javascript"></script>
  <script src="js/SGoParser.js" type="text/javascript"></script>
  <script src="js/SGoBox.js" type="text/javascript"></script>
  <script src="js/SGoGameTree.js" type="text/javascript"></script>  
  <script src="js/SGoUtils.js" type="text/javascript"></script>
  <script src ="js/SGoExLibs.js" type="text/javascript"></script>
  <script src ="js/SGoDialog.js" type="text/javascript"></script>
  <script src="js/SGoMain.js" type="text/javascript"></script>
<!--  
  <script src="sgo-min.js" type="text/javascript"></script>
-->  
</head>

<body>
<h3>Position </h3>
<div class="SGoDia">
<pre>
{"filetype": "problem"}
(;FF[4]GM[1]SZ[19]AP[SGFC:1.16]AW[fc][fq][qn][qj][md][nc][oc]
AB[dd][dj][cn][dp][pp][nq][pc][pd][nd][ne][pf]C[ Black to play.  

Black's position in the upper right is thick, while White's stones at the top are thin. How should Black attack ?]

(;B[kd]C[Correct Answer.  

Black 1 is the vital point in this position. Next ...]TE[2]

(;W[me]C[Pushing up with 2 is only natural, but ...];B[mf]C[... Black blocks with 3, ...]

(;W[le]C[... forcing White to turn with 4.];B[lb]C[Next, Black peeps with 5 and ...]
;W[mc]TR[fc]C[... White's stones are left heavy and separated from the marked one on the left. White is in trouble.]
)
(;W[ke]C[Variation.  

If White attaches at 4, ...];B[le]C[... Black will wedge in at 5.]
;W[ld];B[lf];W[kc];B[jd];W[jc];B[id];W[ic];B[hd];W[hc];B[gd]
C[The sequence to 15 is inevitable. White has secured the top, but Black's thickness in the center is strategically overwhelming. <=]
))
(;W[le]C[Variation.  

The diagonal move of White 2 is another possibility.];B[lb]
C[Again Black peeps with 3.];W[mc];B[ke]C[After exchanging 5 ...]
;W[lf]C[... for 6, ...];B[lh]TR[fc]C[... Black caps with 7. If the fight spreads to the left, the marked stone will be weakened. <=]
)
(;W[kb]C[Variation.  

If White slides to 2, ...];B[jc]C[... Black will force White to run along the second line.]
;W[jb];B[ic];W[ib];B[hc];W[hb];B[gc];W[gb];B[fd];W[ec];B[ed]
C[After the sequence to 13, Black's wall in the center is superior to White's territory at the top. <=]
))
(;B[me]C[Failure.  

Turning at 1 is not a good move ...];W[ld]C[... because White is able to make territory by running on the fourth line ...]
;B[le];W[kd];B[ke];W[jd]TR[fc]C[... and the marked stone works well in protecting White's left flank. Moreover, the two white stones on the right side neutralises Black's wall. <=]
))
</pre>
</div>

<h3>Problem</h3>
<div class="SGoDia">
<pre>
{"filetype": "problem", "autocrop": true}
(;AB[cb]AB[db]AB[cc]AB[bd]AB[ad]AW[be]AW[cd]AW[dd]AW[dc]AW[eb]AW[fb]AW[fd]AW[ed]AW[bf]AW[df]PL[W]
(;W[ab];B[bb]
(;W[ae]C[Corect! ])
(;W[ba];B[ac]
(;W[da];B[aa]MA[ab]C[Gresit!])
(;W[ae];B[aa]MA[ab]C[Gresit!]))
(;W[aa];B[ac]C[Gresit!])
(;W[da];B[ac]
(;W[ba];B[aa]C[Gresit!]MA[ab])
(;W[ca];B[ba]C[Gresit!])
(;W[ae];B[aa]C[Gresit!]))
(;W[ac];B[da]
(;W[ba]C[Corect! ])
(;W[ae];B[bc];W[ba]C[Corect! ])))
(;W[bb];B[ab]
(;W[ba];B[bc]C[Gresit!])
(;W[bc];B[ba]C[Gresit!])
(;W[da];B[ba]C[Gresit!]))
(;W[da];B[ab]
(;W[ca];B[ba]C[Gresit!])
(;W[ba];B[ca]C[Gresit!])
(;W[bb];B[ba]C[Gresit!])
(;W[ae];B[ca]C[Gresit!]))
(;W[ba];B[ab]
(;W[da];B[ca]C[Gresit!])
(;W[bb];B[bc]C[Gresit!])
(;W[ca];B[da]C[Gresit!])
(;W[ae];B[bb]C[Gresit!]))
(;W[ca];B[ab]
(;W[ba];B[da]C[Gresit!])
(;W[da];B[ba]C[Gresit!])
(;W[bb];B[bc]C[Gresit!])
(;W[ae];B[ba]C[Gresit!]))
(;W[aa];B[ba]
(;W[ab];B[bb]C[Gresit!]TR[da]TR[ac])
(;W[bb];B[ab]C[Gresit!])
(;W[da];B[ab]C[Gresit!])
(;W[ae];B[ab]C[Gresit!]))
(;W[ae];B[ab]C[Gresit!])
(;W[ac];B[ab]C[Gresit!])
(;W[bc];B[ab]C[Gresit!]))
</pre>
</div>
<h3>Game - default parameters</h3>
<div class="SGoDia">
<pre>
(;KM[6.5]
FF[3]
SZ[19]
EV[20th GS Caltex Cup tournament 3rd round]
GM[1]
PB[Choi Cheolhan]
PW[Park Yeonghun]
BR[9d]
RE[B+R]
DT[2015-02-26]
WR[9d]
;B[pd];W[dd];B[pq];W[dq];B[co];W[po];B[qm];W[qq];B[mq];W[pp];B[pr]
;W[np];B[mp];W[mo];B[lo];W[ln];B[ko];W[mn];B[qj];W[kq];B[nq];W[ip]
;B[kn];W[km];B[jm];W[kl];B[ep];W[eq];B[gp];W[fp];B[fo];W[fq];B[gq]
;W[in];B[gn];W[jn];B[kp];W[iq];B[qr];W[hl];B[bq];W[gr];B[hr];W[fs]
;B[hq];W[do];B[dp];W[ho];B[go];W[cp];B[eo];W[cq];B[bp];W[br];B[dn]
;W[nc];B[pf];W[qc];B[pc];W[pb];B[lm];W[kk];B[on];W[pn];B[pm];W[nm]
;B[ar];W[bs];B[is];W[ds];B[ml];W[nl];B[mk];W[nk];B[mj];W[pk];B[qk]
;W[oi];B[mh];W[og];B[pg];W[mg];B[lg];W[mf];B[lh];W[nh];B[lf];W[me]
;B[le];W[rb];B[hj];W[ki];B[jj];W[kj];B[ig];W[mi];B[li];W[ni];B[lj]
;W[ii];B[md];W[nd];B[mc];W[ij];B[hk];W[il];B[nb];W[qe];B[of];W[ne]
;B[ob];W[ld];B[lc];W[kd];B[ph];W[kc];B[pa];W[qb];B[oc];W[om];B[op]
;W[oo];B[no];W[rp];B[rq];W[qp];B[sr];W[pl];B[rm];W[nn];B[np];W[qn]
;B[ik];W[jk];B[hd];W[kb];B[lb];W[ie];B[he];W[if];B[hf];W[jg];B[jf]
;W[la];B[mb];W[hg];B[jd];W[rg];B[rh];W[je];B[ke];W[ih];B[id];W[kf]
;B[jb];W[ck];B[cf];W[lq];B[lp];W[mr];B[nr];W[bn];B[bo];W[bm];B[pj]
;W[ok];B[ro];W[rn];B[sp];W[sm];B[rl];W[so];B[sn];W[ll];B[mm];W[so]
;B[hm];W[im];B[sn];W[ib];B[jc];W[so];B[gs];W[sq];B[fr];W[rr];B[lr]
;W[er];B[cr];W[gr];B[dk];W[cj];B[fr];W[kr];B[ms];W[gr];B[rf];W[re]
;B[fr];W[bd];B[ef];W[gr];B[sg];W[qd];B[fr];W[fc];B[gr];W[dg];B[df]
;W[fe];B[ed];W[fd];B[ff])
</pre>
</div>

</body>
</html>

